from django.contrib import admin
from .models import *

class PersonAdmin(Person):
    list_display = ('name','phone','email','wechat',)
class OrganizationAdmin(Organization):
    list_display = ('name','introduction','createTime',)
class GradeClassAdmin(GradeClass):
    list_display=('gradename','classname',)
class TeamAdmin(GradeClass):
    list_display=('name','vocation',)
admin.site.register(PersonAdmin)
admin.site.register(OrganizationAdmin)
admin.site.register(GradeClassAdmin)
admin.site.register(TeamAdmin)
